//
//  ParserClass.h
//  iRMAP
//
//  Created by Ryan Enguero on 4/8/14.
//  Copyright (c) 2014 engueroryan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ParserClass : NSObject{

    NSMutableArray *user;
    NSMutableArray *companies;
    NSMutableArray *devices;
    NSMutableArray *viewLogsArr;
    NSString *domainIDStr;
    NSMutableArray *alarmArr;
    NSMutableArray *eventArr;
    NSMutableArray *sensorArr;
    NSString *type;
    NSString *setPointStr;
    
    NSString *freezerIDStr;
}


// User Details

- (NSArray*)userdetails;

- (void)userDetails:(NSDictionary*)details;

// Company Details

- (NSArray*)companyDetails;

- (void)listOfCompanies:(NSDictionary*)companyDetails;

// Device Details

- (NSArray*)deviceDetails;

- (void)listOfDevices:(NSDictionary*)deviceDetails;

// View Logs

- (NSArray*)viewLogsDetails;

- (void)viewLog:(NSDictionary*)viewLogDetails;

// Alarm Logs

- (NSArray*)alarmLogs;

- (void)alarmLogs:(NSDictionary*)logs;

// Event Logs

- (NSArray*)eventLogs;

- (void)eventLogs:(NSDictionary*)logs;

// Sensor Logs

- (NSArray*)sensorLogs;

- (void)sensorLogs:(NSDictionary*)logs;

// Domain ID

- (NSString*)domainID;

- (void)getDomainID:(NSString*)domainID;

// Empty Data

- (void)emptyData;

// Equipment Type

- (NSString*)equipmentType;

- (void)getEquipmentType:(NSString*)equipmentType;

// Get Set Point

- (NSString*)setPoint;
- (void)getSetPoint:(NSString*)dataSetPoint;


// Get Device Id

- (NSString*)freezerID;
- (void)getFreezerID:(NSString*)freezerID;

// Date Convertion

- (NSDate *)convertLocaltoGMT:(NSString *)localDateStr;

// SingleTon

+ (ParserClass *) sharedItems;

@end
